package com.lemon.components.wechart.order.supporter;

import com.lemon.components.wechart.enums.MsgTypeEnum;
import com.lemon.components.wechart.order.supporter.msgContent.MusicContent;

public class SendMusicMsgOrder extends SendMsgOrder {

	// openid
	private String touser;
	private MsgTypeEnum msgtype;
	private MusicContent music;

	@Override
	public void check() {
		validateHasText(touser, "touser");
		validateNotNull(msgtype, "msgtype");
		validateNotNull(music, "music");
	}

	public String getTouser() {
		return touser;
	}

	public void setTouser(String touser) {
		this.touser = touser;
	}

	public MsgTypeEnum getMsgtype() {
		return msgtype;
	}

	public void setMsgtype(MsgTypeEnum msgtype) {
		this.msgtype = msgtype;
	}

	public MusicContent getMusic() {
		return music;
	}

	public void setMusic(MusicContent music) {
		this.music = music;
	}

	@Override
	public String toString() {
		return "SendMusicMsgOrder [touser=" + touser + ", msgtype=" + msgtype + ", music=" + music + "]";
	}

}
